﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Speech.Synthesis;



namespace Nau.Airplane.Speech
{
    public static class SpeechHelper
    {
        public static void PlayString(string stringToPlay)
        {
            PlayFromString(stringToPlay);
        }
        
        private static void PlayFromString(string stringToPlay)
        {
            SpeechSynthesizer sp = new SpeechSynthesizer();
            sp.Speak(stringToPlay);
        }

    }
}
